package com.syan.learn.optimization.ch04.future;

public class Client {
	public Data Request(final String queryStr){
		final FutureData future = new FutureData();
		new Thread(){
			public void  run() {
				RealData realData = new RealData(queryStr)	;
				future.setRealData(realData);
			}
		}.start();
		
		return future;
	}
}
